#include "TextureManagerWidget.h"
#include <QPainter>

TextureManagerWidget::TextureManagerWidget(QWidget* parent): QWidget(parent)
{
}

TextureManagerWidget::~TextureManagerWidget()
{
}

QSize TextureManagerWidget::sizeHint() const
{
	return QSize(400, 200);
}

QSize TextureManagerWidget::minimumSizeHint() const
{
	return QSize(100, 100);
}

void TextureManagerWidget::paintEvent(QPaintEvent *e)
{
	QPainter painter(this);

     painter.setPen(palette().dark().color());
	 painter.setBrush(QBrush(Qt::red));
     painter.drawRect(QRect(0, 0, width() - 1, height() - 1));
}
